package com.itobase.statusDetect.Repository;

import com.itobase.statusDetect.Model.User;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserRepository extends MongoRepository<User,String> {

    User findByName(String name);

    User findByNumber(String name);

}
